import Vue from 'vue'

Vue.directive('err', {
  bind(el, binding) {
    el.onerror=function(){
        // console.log('我裂开了');
        el.src=binding.value
    }
  }
})
